﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="header.aspx.cs" Inherits="RantopadService.Header" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Admin Header</title>
<style type="text/css">
body {background: #0E1118; font-family:Arial, Helvetica, sans-serif; font-size:12px; margin:0px; margin-bottom:2px;border-bottom: 1px #ccc solid;}
h1 {color: #FFF;}
a {color: #FFF; text-decoration: none;/*防止滤镜下链接失效*/position:relative;}
ul { list-style:none;}
#all {width: 100%;}
#banner {margin-top: 8px; margin-left: 32px;}
#main {width: 100%; margin-bottom: 2px; background:#eeeeee; margin-left: 0px; margin-right:0px; height: 30px; color: #000; line-height: 2.4;overflow: auto;}
#main a {color:#000;}
#welcome { float:left; width: 40%; font-weight: 800; padding-left: 8px; position:relative;}
#adminop { float:left; width: 100%; 
line-height:1; *line-height:2.2;
    }
#adminop ul li {float: right; width: 50px; text-align:right}
#nav {width: 100%; clear: both;
        height: 24px;
    }
#nav ul li {float: right; width:82px; height:25px; line-height: 2.1; text-align: center;}
.inactive { background-image/**/:url(images/admin/nav_bg_inactive2.png) !important;background: none; margin-left: 2px; margin-right:2px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/admin/nav_bg_inactive2.png);}
.inactive a {color: #000;}
.active {background:url(images/admin/nav_bg_active2.png) !important;background: none; margin-left: 2px; margin-right:2px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/admin/nav_bg_active2.png);}
.active a {color:#fff;}
.blankgray {background:#bbb; height:2px; width:100%; margin:0; padding:0; clear:both; font-size:2px;}
    .auto-style1 {
        color: #DBFE01;
        font-weight: normal;
    }
</style>
<script type="text/javascript" language="javascript" src="Scripts/jquery-1.3.2.min.js"></script>
<script type="text/javascript">
    var oplist = new Array( 'box', 'school', 'config');
    $(document).ready(function () {
        $('#nav').find("a").click(function () {
            var id = $(this).attr('id');
            $.each(oplist, function (i, n) {
                $('#' + n).attr('class', 'inactive');
            });
            $(this).parents("li").attr('class', 'active');
        });
    });
</script>
</head>

<body>
<div id="all">
    <div id="adminop">
            <ul>                
                <li><a href="login.aspx" target="_parent" >退出</a></li>   
                <li><a href="index.aspx" target="_parent">返回首页</a></li>
                           
            </ul>
</div>    
	<div id="banner">
	  <h1 class="auto-style1"><asp:Image ID="Image1" runat="server" ImageUrl="~/Images/logo.jpg" Height="55px" Width="167px" /><strong>后台管理系统</strong></h1>
     </div>  
    
    <div id="nav">
    	<ul>        	
            <li class="inactive" id="box"><a href="menu/menu1.aspx" target="menu">推送相关</a></li>
            <li class="inactive" id="school"><a href="menu/menu2.aspx" target="menu">基础信息</a></li>
            <li class="active" id="config"><a href="menu/menu3.aspx" target="menu">用户信息</a></li>
        </ul>
    </div>
</body>
</html>
